<template>
  <div>
    <div v-if="managerNameForamt(managerName)">
        {{managerName}}
    </div>
    <div v-else>
      <el-link :underline="false" style="font-weight: bold;" type="danger" @click="goToKB">Set Manager</el-link>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
    }
  },
  computed: {
    managerName () {
      return this.$data.data.managerName
    }
  },
  methods: {
    managerNameForamt (managerName) {
      if (managerName) {
        return true
      } else {
        return false
      }
    },
    goToKB () {
      window.open('https://wiki.mspbots.ai/x/ZYcF', '_blank')
    }
  }

}
</script>
<style>

</style>
